package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.UnitViewDO;

import java.util.List;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/16 11:00
 */
public interface UnitViewDAO extends BaseDAO<UnitViewDO> {
    /**
     * 文档对应的名字
     */
    String            COLLECTION_NAME  = BASE_COLLECTION_NAME + "unit-view";
    /**
     * 文档对应的Class
     */
    Class<UnitViewDO> COLLECTION_CLASS = UnitViewDO.class;

    UnitViewDO queryBySystemUuidAndUseCaseUuid(String systemUuid, String useCaseUuid);

    List<UnitViewDO> queryBySystemUuid(String systemUuid);

    /**
     * 列
     */
    interface UnitViewColumn extends BaseColumn {
        String SYSTEM_UUID   = "systemUuid";
        String USE_CASE_UUID = "useCaseUuid";
    }

}
